var Simulator = {
		
	simulateClick : function(cb) {
		if (Prototype.Browser.IE || Prototype.Browser.Opera) {
			cb.click();
		} else if (Prototype.Browser.Gecko
				|| navigator.userAgent.indexOf("Chrome") != -1) {
			var evt = document.createEvent("MouseEvents");
			evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
					false, false, false, false, 0, null);
			var canceled = !cb.dispatchEvent(evt);
			if (canceled) {
				// A handler called preventDefault
			} else {
				// None of the handlers called preventDefault
			}
		} else if (Prototype.Browser.WebKit || Prototype.Browser.MobileSafari) {
			alert('simulateClick' + navigator.userAgent);
		}
	}

};